package com.yequan.designpattern.composite.safe;

/**
 * @author yequan
 * @date 2019/12/11
 */
public class Txt extends File {

    public Txt(String name) {
        this.name = name;
    }

    @Override
    public void showSelf(int deep) {
        System.out.println("文本文件: " + name);
    }
}
